<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2016/6/28 0028
  Time: 17:17
  To change this template use File | Settings | File Templates.
--%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <title>添加分类</title>
</head>
<body>
<form:form modelAttribute="WxShopCategoryModel" method="post" class="text-form" name="childForm">
    <article class="viewports">
        <ul class="plr20 lh1-5 mt30">
            <li class="ptb20">
                <div class="c8">
                    <div class="odr2 plr10 mt20 b-ffffff">
                            <%--<input class="i_text" type="text" value="" placeholder="分类名称">--%>
                        <form:input path="categoryName" cssClass="i_text" type="text" placeholder="分类名称"></form:input>
                    </div>
                    <form:errors path="categoryName" cssClass="t_msg"></form:errors>
                    <div class="odr2 plr10 mt20 b-ffffff">
                            <%--<input class="i_text" type="text" value="" placeholder="优先等级，数字越大优先等级越高">--%>
                        <form:input path="orderNum" cssClass="i_text" type="number" placeholder="优先等级，数字越大优先等级越高"></form:input>
                    </div>
                    <form:errors path="orderNum" cssClass="t_msg"></form:errors>
                </div>
            </li>
        </ul>
        <div class="tac ptb30">
            <button class="i_btn b-2db22d cf r5 lh2 plr75">添加分类</button>
        </div>
    </article>
</form:form>
</body>
</html>
>